package net.atomarrow.db.orm;

/**
 * 属性
 * @author Michael
 *
 */
public class Attribute {
	private String name;
	private int sqlType;//java.sql.Types
	private boolean isDbColumn;
	
	public Attribute(String name, int sqlType,boolean isDbColumn) {
		this.name=name;
		this.sqlType=sqlType;
		this.isDbColumn=isDbColumn;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSqlType() {
		return sqlType;
	}
	public void setSqlType(int sqlType) {
		this.sqlType = sqlType;
	}
	public boolean isDbColumn() {
		return isDbColumn;
	}
	public void setDbColumn(boolean isDbColumn) {
		this.isDbColumn = isDbColumn;
	}

}
